// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
  color: #4f99cd !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}



// 弹窗头部样式
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .el-dialog__header{
    padding: 10px;
    background: #3589dd;
    .el-dialog__title{
      font-size: 14px;
      color: #fff;
    }
    .el-dialog__close{
      color: #fff;
    }
    .el-dialog__headerbtn{
      top: 13px;
    }
  }
}
// 弹窗标题样式
.el-dialog__title{
  display:flex;
  align-items: center;
  margin-bottom: 0px;
}
// 弹窗标题前加图标
.el-dialog__title:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url(../assets/logo_sxm.png);
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: center top 5px; */
}

.el-button--warning {
  color: #FFFFFF;
  background-color: #e5a144;
  border-color: #e5a144;
}
.el-button--danger {
  color: #FFFFFF;
  background-color: #f36b6e;
  border-color: #f36b6e;
}

// 表格p标签
.el-table p{
  margin: 0;
}

// 顶部保存按钮样式
.topSubmitBtn{
  display:flex;
  justify-content:flex-end;
  padding-bottom: 16px;
  border-bottom: 1px solid #c7e2fe
}

// 表格fixed=right最后一行显示错误
.el-table__fixed, .el-table__fixed-right{
  height: 100% !important;
}


// 表格数据为空
.el-table__empty-block{
  background-image: url("../assets/nodata.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 200px;
  height: 200px;
  margin-top: 25px;
  margin-bottom: 60px;
  min-height: 200px;
  z-index: 10000000000px;
  span{
    position: relative;
    top: 50px;
    font-size: 14px;
  }
  .el-table__empty-text{
    padding-top: 80px;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}


// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}
// el-autocomplete自定义内容行高
.el-autocomplete-suggestion li{
  line-height: 20px;
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
